learn how to determine if a function is continuous